
<!DOCTYPE html>
<html lang="zh-cn">

<!-- Mirrored from v3.bootcss.com/examples/jumbotron-narrow/ by HTTrack Website Copier/3.x [XR&CO'2013], Sun, 26 Jan 2014 11:51:18 GMT -->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">

	<title>{$arts.title} - 问卷统计</title>

	<!-- Bootstrap core CSS -->
	<link href="__PUBLIC__/static/dist/css/bootstrap.css" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="__PUBLIC__/static/jumbotron-narrow2.css" rel="stylesheet">

	<!-- Just for debugging purposes. Don't actually copy this line! -->
	<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
      <![endif]-->
    </head>

    <body>

     <div class="container">


      <h2 class="post-title">问卷统计：{$arts.title}</h2>

      <h5 class="post-title">问卷说明：{$arts.title} </h5>

      <h5> 本次问卷调查人数： 共 {$answer_count}人参与  
      <!-- <a href="__PUBLIC__/index.php/admin/member/answerlst.html?page=1&answerid={$article_contens[0]['id']}&cate={$article_contens[0]['cate']}">查看名单</a> -->

      <!-- <a href="__PUBLIC__/index.php/index/count/single.html?{$export}" >导出统计123结果</a> -->
      </h5>
      <form action="" method="post" id="myform" name="myform" enctype="multipart/form-data" style="display: {if condition="session('loginmember') neq ' '"} {else}none{/if}">


       {volist name="article_contens" id="vo"}



       <h4>问题{$i}：{$vo.title} </h4>

       <!-- 判断题目的类型 -->
       {switch name="$vo.type"}
       {case value="0"}{assign name="var" value="radio" /}
       {assign name="c1" value="" /}
       {assign name="c2" value="" /}
       {assign name="c3" value="" /}
       {assign name="c4" value="" /}
       {assign name="c5" value="" /}
       {assign name="c6" value="" /}
       {/case}
       {case value="1"}{assign name="var" value="checkbox" /}
       {assign name="c1" value="1" /}
       {assign name="c2" value="2" /}
       {assign name="c3" value="3" /}
       {assign name="c4" value="4" /}
       {assign name="c5" value="5" /}
       {assign name="c6" value="6" /}
       {/case}
       {default /}{assign name="var" value="checkbox" /}
       {assign name="c1" value="1" /}
       {assign name="c2" value="2" /}
       {assign name="c3" value="3" /}
       {assign name="c4" value="4" /}
       {assign name="c5" value="5" /}
       {assign name="c6" value="6" /}
       {/switch}
       <input type="hidden" name="answerid{$i}" value="{$vo.id}" />
       <!-- 题目的id{$vo.id} -->
       <input type="hidden" name="var{$i}" value="{$var}" />
       <!-- 题目1++++++++++++++++++++++++++++++++++++++++++++++++++++++++分界线 -->
       {notempty name="$vo.answer1"}<h5>选项a：<input type="{$var}" name="answer{$i}{$c1}"  id="answer{$i}{$c1}"  value="1"  >{$vo.answer1}  |  票数： {$vo.checked1}票  | 比例：{$vo.checked_son1}% </h5>
       <div class="progress progress-striped">
        <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: {$vo.checked_son1}%">
          <span class="sr-only">{$vo.checked_son1}% Complete (success)</span>
        </div>
      </div>
      {/notempty}
      <!-- 题目2++++++++++++++++++++++++++++++++++++++++++++++++++++++++分界线 -->
      {notempty name="$vo.answer2"}<h5>选项b：<input type="{$var}" name="answer{$i}{$c2}"  id="answer{$i}{$c1}"  value="2"  >{$vo.answer2}  | 票数：{$vo.checked2} 票 | 比例：{$vo.checked_son2}% </h5>
      <div class="progress progress-striped">
        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: {$vo.checked_son2}%">
          <span class="sr-only">{$vo.checked_son2}% Complete</span>
        </div>
      </div>
      {/notempty}
      <!-- 题目3++++++++++++++++++++++++++++++++++++++++++++++++++++++++分界线 -->
      {notempty name="$vo.answer3"}<h5>选项c：<input type="{$var}" name="answer{$i}{$c3}"  id="answer{$i}{$c1}"  value="3"  >{$vo.answer3}  | 票数：{$vo.checked3}票  | 比例：{$vo.checked_son3}% </h5>
      <div class="progress progress-striped">
        <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: {$vo.checked_son3}%">
          <span class="sr-only">{$vo.checked_son3}% Complete (warning)</span>
        </div>
      </div>
      {/notempty}
      <!-- 题目4++++++++++++++++++++++++++++++++++++++++++++++++++++++++分界线 -->
      {notempty name="$vo.answer4"}<h5>选项d：<input type="{$var}" name="answer{$i}{$c4}"  id="answer{$i}{$c1}"  value="4"  >{$vo.answer4}  | 票数：{$vo.checked4}票  | 比例：{$vo.checked_son4}% </h5>
      <div class="progress progress-striped">
        <div class="progress-bar progress-bar" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: {$vo.checked_son4}%">
          <span class="sr-only">80% Complete (danger)</span>
        </div>
      </div>
      {/notempty}
      <!-- 题目5++++++++++++++++++++++++++++++++++++++++++++++++++++++++分界线 -->
      {notempty name="$vo.answer5"}<h5>选项e：<input type="{$var}" name="answer{$i}{$c5}"  id="answer{$i}{$c1}"  value="5"  >{$vo.answer5}  | 票数：{$vo.checked5}票  | 比例：{$vo.checked_son5}% </h5>
      <div class="progress progress-striped ">
        <div class="progress-bar progress-bar-danger"  role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: {$vo.checked_son5}%">
          <span class="sr-only">45% Complete</span>
        </div>
      </div>
      {/notempty}
      <!-- 题目6++++++++++++++++++++++++++++++++++++++++++++++++++++++++分界线 --> 
      {notempty name="$vo.answer6"}<h5>选项f：<input type="{$var}" name="answer{$i}{$c6}"  id="answer{$i}{$c1}"  value="6"  >{$vo.answer6}  | 票数：{$vo.checked6}票  | 比例：{$vo.checked_son6}% </h5>
      <div class="progress progress-striped ">
        <div class="progress-bar"  role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="background-color: #463265;;width: {$vo.checked_son6}%">
          <span class="sr-only">45% Complete</span>
        </div>
      </div>
      {/notempty}
      <br/>


      {/volist}

      

      <!-- url('index/blog/read','id=5&name=thinkphp'); -->
    </form>

    <h6>浏览:<span id="spn75">{$arts.click}</h6>
    <!-- 分类:{$arts.catename} | 评论:555 | 浏览:<span id="spn75">{$arts.click}</span> -->


  </div>

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  <script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
  <!-- Include all compiled plugins (below), or include individual files as needed -->
  <script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
</body>
</html>











